package com.hitqz.robot.driver.util;

import com.alibaba.fastjson.JSONObject;
import com.hitqz.robot.driver.dto.map.MapDataDto;
import com.hitqz.robot.driver.dto.robot.RobotQueryMapDto;
import com.hitqz.robot.driver.dto.robot.RobotQueryPathDto;
import com.hitqz.robot.driver.dto.robot.RobotQueryStationsRetDto;

import java.util.concurrent.locks.Lock;

/**
 * 机器人状态
 * @author xupkun
 * @date 2023/8/15
 */
public class RobotStatusUtil {
    //public static Map<String, RobotPowerInfoDto> ROBOT_POWER  = Maps.newHashMap();

    //public static volatile Map<String, IRobotChassis> ROBOT_CHASSIS= Maps.newHashMap();

    public static Lock ROBOT_STATUS_RELOC_LOCK = null;
    public static Lock ROBOT_GO_TARGET_POS = null;
    public static Lock ROBOT_QUERY_JACK_STATUS_LOCK = null;

    public static Lock ROBOT_QUERY_PATH = null;
    public static Lock ROBOT_QUERY_MAP_ATTRIBUTES = null;

    public static Lock ROBOT_QUERY_MAP_POS = null;
    public static Lock ROBOT_QUERY_MAP = null;

    public static Integer ROBOT_RELOC_STATUS = -1;

    public static String TARGET_POS_NAME = "";

    public static Integer LIFT_STATUS = 0;


    public static RobotQueryStationsRetDto ROBOT_STATIONS = null;

    public static RobotQueryPathDto ROBOT_QUERY_PATH_DATA = null;
    public static RobotQueryMapDto ROBOT_QUERY_MAP_DATA = null;
    public static MapDataDto ROBOT_QUERY_ATTRIBUTES_DATA = null;

    public static Boolean ROBOT_GO_TARGET_RESULT = null;

    public static JSONObject ROBOT_MAX_SPEED_RESULT = null;

}
